package org.springblade.modules.notice.core.event;

import lombok.Getter;
import lombok.Setter;
import org.springblade.modules.notice.dto.NoticeTaskParam;
import org.springframework.context.ApplicationEvent;

/**
 * @Author ysq
 * @Date 2024/12/11
 * @Description 消息通知事件
 */
@Getter
@Setter
public class NoticeEvent extends ApplicationEvent {

	private NoticeTaskParam noticeTaskParam;

	/**
	 * 消息通知事件
	 * @param noticeTaskParam
	 */
	public NoticeEvent(NoticeTaskParam noticeTaskParam) {
		super(noticeTaskParam);
		this.noticeTaskParam = noticeTaskParam;
	}
}
